<?php
namespace BP\Frm;
require_once("BP/En/Map.php");
class EmpCreate extends EntityMM {
	public function getFrmID () 
	{
		return $this->GetValIntByKey(EmpCreateAttr::$FrmID);
	}
	public function setFrmID ($value) // [int value]
	{
		$this->SetValByKey(EmpCreateAttr::$FrmID, $value);
	}
	public function getFK_Emp () 
	{
		return $this->GetValStringByKey(EmpCreateAttr::$FK_Emp);
	}
	public function setFK_Emp ($value) // [String value]
	{
		$this->SetValByKey(EmpCreateAttr::$FK_Emp, $value);
	}
	public function getFK_EmpT () 
	{
		return $this->GetValRefTextByKey(EmpCreateAttr::$FK_Emp);
	}
	public static function constructor__ () 
	{
		$me = new self();
		return $me;
	}
	public function getEnMap () 
	{
		if (($this->get_enMap() != NULL))
		{
			return $this->get_enMap();
		}
		$map = new Map("Frm_EmpCreate", "单据可创建的人员");
		$map->AddTBStringPK(EmpCreateAttr::$FrmID, NULL, "表单",  TRUE ,  TRUE , 1, 100, 100);
		$map->AddDDLEntitiesPK(EmpCreateAttr::$FK_Emp, NULL, "人员", new Emps(),  TRUE );
		$this->set_enMap($map);
		return $this->get_enMap();
	}
}
?>
